class MockUpload < ActionController::UploadedStringIO
  def initialize(content_type, original_path, *args)
    self.content_type = content_type
    self.original_path = original_path
    super(*args)
  end
end